package com.ruoyi.smartHighway.mapper;

import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * 版本更新记录Mapper接口
 *
 * @author ljj
 * @date 2024-08-06
 */
@Mapper
public interface AppMapper{

    List<Map<String, Object>> getStationList();

    Map<String, Object> getTollOperation();

    List<Map<String, Object>> queryDeviceList(Map<String, Object> queryMap);

    List<Map<String, Object>> queryDeviceNum(Map<String, Object> queryMap);

    List<Map<String, Object>> queryFacilityList(Map<String, Object> queryMap);

    Map<String, Object> getFacilityNum();

    List<Map<String, Object>> queryBridgeGradeList();

    List<Map<String, Object>> queryBridgeInfoList(Map<String, Object> queryMap);

    Map<String, Object> getBridgeInfoById(int bridgeId);

    List<Map<String, Object>> queryRoadGradeList(Map<String, Object> queryMap);

    void truncateDevice();

    void batchAddDevice(List<Map<String, Object>> list);

    void truncateDeviceNum();

    void batchAddDeviceNum(List<Map<String, Object>> list);

    void truncateFacilityList();

    void batchAddFacilityList(List<Map<String, Object>> list);

    void truncateFacilityNum();

    void addFacilityNum(Map<String, Object> facilityNumMap);

    void truncateBridgeGradeList();

    void batchAddBridgeGradeList(List<Map<String, Object>> list);

    void truncateBridgeInfoList();

    void batchAddBridgeInfoList(List<Map<String, Object>> list);

    void truncateRoadGradeList();

    void batchAddRoadGradeList(List<Map<String, Object>> list);

    void truncateShowInfoList();

    void batchAddShowInfoList(List<Map<String, Object>> list);

    void addShowInfo(Map<String, Object> showInfo);

    void truncateShowStructureList();

    void batchAddShowStructureList(List<Map<String, Object>> list);

    void truncateEventInfoList();

    void batchAddEventInfoList(List<Map<String, Object>> list);

    List<Map<String, Object>> queryEventList(Map<String, Object> queryMap);

    List<Map<String, Object>> queryShowInfoList(Map<String, Object> queryMap);

    List<Map<String, Object>> queryShowStructureList(Map<String, Object> queryMap);
}

